package org.wangnian.autogeneratorcode.generator.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wangnian
 * @since 2024-04-25
 */
@TableName("t_generator1")
public class Generator1 implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "g_id1", type = IdType.AUTO)
    private Integer gId1;

    private String name1;

    private Integer age1;

    public Integer getgId1() {
        return gId1;
    }

    public void setgId1(Integer gId1) {
        this.gId1 = gId1;
    }

    public String getName1() {
        return name1;
    }

    public void setName1(String name1) {
        this.name1 = name1;
    }

    public Integer getAge1() {
        return age1;
    }

    public void setAge1(Integer age1) {
        this.age1 = age1;
    }

    @Override
    public String toString() {
        return "Generator1{" +
            "gId1 = " + gId1 +
            ", name1 = " + name1 +
            ", age1 = " + age1 +
        "}";
    }
}
